﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using TheCell;
using SudoCalc;

namespace SudoForm
{
    public partial class AnswerForm : Form
    {
        public AnswerForm()
        {
            InitializeComponent();
            string fileFullPath = @"D:\Code\Sudo\SudoData.json";
            List<Cell> answercells = CellUtils.InitializeCell();
            answercells = JsonUtils.Deserialize(fileFullPath);//反序列化时会开始重新生成List<Cell>
            FormUtils.Initialzation(this.panel1, this.GetType(), answercells); 
        }
        
    }
}
